#!/bin/bash
nohup python main.py > tts_server.log 2>&1 &
echo $! > server.pid
echo "TTS server started. PID: $(cat server.pid)"